package com.example.wenliangjiudian.mapper;

import com.example.wenliangjiudian.entity.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CustomerMapper {
    List<Customer> selectAll();

    Customer getByIdcard(@Param("idcard") String idcard);

    void insert(@Param("customer") Customer customer);

    void update(@Param("customer")Customer customer);
}
